package com.dangdang.dao;

import com.dangdang.entity.Address;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AddressDao {
    List<Address> selectAllAddr(int uid);
    Address selectById(int id);
    void insert(@Param("addr") Address addr);
    void update(@Param("addr") Address addr);
}